  package com.blog.entity;
  
  import java.util.Date;
  
  public class Comment
  {
    private Integer id;
    private String userIp;
    private String content;
    private Blog blog;
    private Date commentDate;
    private Integer state;
    
    public Integer getId()
    {
      return this.id;
    }
    
    public void setId(Integer id)
    {
      this.id = id;
    }
    
    public String getUserIp()
    {
      return this.userIp;
    }
    
    public void setUserIp(String userIp)
    {
      this.userIp = userIp;
    }
    
    public String getContent()
    {
      return this.content;
    }
    
    public void setContent(String content)
    {
      this.content = content;
    }
    
    public Blog getBlog()
    {
      return this.blog;
    }
    
    public void setBlog(Blog blog)
    {
      this.blog = blog;
    }
    
    public Date getCommentDate()
    {
      return this.commentDate;
    }
    
    public void setCommentDate(Date commentDate)
    {
      this.commentDate = commentDate;
    }
    
    public Integer getState()
    {
      return this.state;
    }
    
    public void setState(Integer state)
    {
      this.state = state;
    }
  }



 